#include "book.h"
#include "library.h"
#include <iostream>
#include <sstream>
#ifndef MENU_H
#define MENU_H

bool all (int n);
bool toTwelve(int n);
bool toSeven(int n);
bool toFour(int n);
int read_int(const std::string &msg, const std::string &err, bool check(int) = all);
bool who(std::string&);
bool YON(std::string&);
std::string read_string(const std::string &msg, const std::string &err, bool check(std::string&));

class Menu {
    public:
        void Run();
    private:
        Library lib;

        void MenuWrite();
};

#endif // MENU_H
